export interface TeamItem {
  id?: number;
  teamName?: string;
  start?: string;
  end?: string;
}

export interface PlanItem {
  date: string;
  data: {
    id: number;
    teamId: number;
    teamName: string;
    planDate: string;
    planType: PlanType;
    tollBoothId: string;
    tollCollectorId: number;
  }[];
}

export enum PlanType {
  WORKING = 0,
  REST = 1,
  EXCHANGE = 2,
}

export interface PlanDataObj {
  [key: string]: PlanItem[];
}
